home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A swirling plastic overlay',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 92,
- 'MinAmbience': 4,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (68,234,156),
- 'Direction': (-0.344118,-0.390083,-0.85406),
- 'HighlightSize': 27
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (213,213,213),
- 'Direction': (0.511698,0.740825,-0.435136),
- 'HighlightSize': 33
- }]
- },
- 'Mode': App.Constants.CountType.Multiple,
- 'Multiple': {
- 'AverageSize': 93,
- 'Coverage': 89,
- 'CreateMethod': App.Constants.BubbleCreateMethod.Intersecting,
- 'SizeVariation': 37
- },
- 'RandomSeed': 4123,
- 'RandomizePlacement': App.Constants.Boolean.false,
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.false
- },
- 'Surface': {
- 'Material': {
- 'Color': (244,222,98),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.true,
- 'Depth': 90,
- 'FileName': 'Twirl',
- 'Fit': App.Constants.Boolean.true,
- 'Size': 28,
- 'Smoothness': 75
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 91,
- 'Opacity': 20,
- 'Shininess': 35
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-